package com.cs.composite;

/**
 * @author Sam.Lee E-mail:lishanman2007@163.com
 * @version Created：Aug 16, 2011 1:12:34 PM
 */
public class Leaf extends Component {

	String name;

	public Leaf(String name) {
		this.name = name;
	}

	public void printStruct(String prefix) {
		System.out.println(prefix + "-" + name);
	}

}
